import java.util.Scanner;

public class Num7 {
    public static void main(String[] args) {
        int a = 1;
        int sum = 0;
        for (a = 1; a <= 10; a++) {
            System.out.println("请输入第" + a + "个数");
            Scanner input = new Scanner(System.in);
            int b = input.nextInt();
            sum += b;
        }
        System.out.println("sum=" + sum);


    }
}
